hvm: Clean up console-information passing via xenstore.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 1 Mar 2007 13:57:25 +0000 (13:57 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 1 Mar 2007 13:57:25 +0000 (13:57 +0000)
commit154753acf2adef35db14f4ad6e7340b0483d1070
tree83f9cdf06104331e24612c7edfb0967c771b6e23
parent279a6c16e6bdaa96e0c7babb7fc4f81c7270ca64
hvm: Clean up console-information passing via xenstore.

Each serial, parallel and monitor device in qemu that is connected to
a pty creates a xenstore node of the form:
 <domain-path>/monitor/tty
 <domain-path>/serial/<n>/tty
 <domain-path>/parallel/<n>/tty

In addition, serial/0 (com1) also registers its information at:
 <domain-path>/console/tty

Also fix a realloc() failure memory leak.

Signed-off-by: Ben Thomas <ben@virtualiron.com>
tools/ioemu/vl.c